<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>黑马影视</title>
    <link rel="stylesheet" href="./css/pintuer.css">
    <link rel="stylesheet" href="./css/admin.css">
    <script src="./js/jquery.js"></script>
    <script src="./js/pintuer.js"></script>
    <script type="text/javascript" src="./js/axios-0.18.0.js"></script>
    <script type="text/javascript" src="./js/vuejs-2.5.16.js"></script>
    <script type="text/javascript" src="./js/token.js"></script>
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
        <h1>后台管理中心</h1>
    </div>
    <div class="head-l">
        <a class="button button-little bg-green" href="http://localhost:8081/index.html" target="_blank">
            <span class="icon-home"></span>
            前台首页
        </a>
        <a class="button button-little bg-red" onclick="logout()">
            <span class="icon-power-off"></span>
            退出登录
        </a>
    </div>
</div>
<div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
    <h2><span class="icon-user"></span>基本设置</h2>
    <ul style="display:block">
        <li><a href="./user_list.html" target="right"><span class="icon-caret-right"></span>修改密码</a></li>
        <li><a href="javascript:void(0)" target="right"><span class="icon-caret-right"></span>单页管理</a></li>
        <li><a href="javascript:void(0)" target="right"><span class="icon-caret-right"></span>栏目管理</a></li>
    </ul>
    <h2><span class="icon-pencil-square-o"></span>栏目管理</h2>
    <ul style="display:block">
        <li><a href="./member_list.html" target="right"><span class="icon-caret-right"></span>会员管理</a></li>
        <li><a href="javascript:void(0)" target="right"><span class="icon-caret-right"></span>分类管理</a></li>
        <li><a href="javascript:void(0)" target="right"><span class="icon-caret-right"></span>首页轮播</a></li>
        <li><a href="./movie_list.html" target="right"><span class="icon-caret-right"></span>影视管理</a></li>
        <li><a href="javascript:void(0)" target="right"><span class="icon-caret-right"></span>评论管理</a></li>
    </ul>
</div>
<script type="text/javascript">
    $(function () {
        $(".leftnav h2").click(function () {
            $(this).next().slideToggle(200);
            $(this).toggleClass("on");
        });
        $(".leftnav ul li a").click(function () {
            $("#a_leader_txt").text($(this).text());
            $(".leftnav ul li a").removeClass("on");
            $(this).addClass("on");
        })
    });

    axios.get('/admin/movie/findAll').then(resp => {
    })
</script>
<ul class="bread">
    <li><a href="#" target="right" class="icon-home"> 首页</a></li>
</ul>
<div class="admin">
    <iframe scrolling="auto" rameborder="0" src="./welcome.html" name="right" width="100%" height="100%"></iframe>
</div>

<script>
    function logout() {
        localStorage.removeItem("token");
        location.href="./login.html";
    }
</script>
</body>
</html>
